import React ,{ Component }from 'react'
import RcPagination from 'rc-pagination' //分页
import 'rc-pagination/dist/rc-pagination.min.css'

//通用分页组件
class Pagination extends Component{
  constructor(props){
    super(props)
  }
  render(){
    return (
      <div className='row'>
        <div className='col-md-12'>
          <RcPagination {...this.props}
          hideOnSinglePage showQuickJumper/>
        </div>
      </div>
    )
  }
}
export default Pagination